package com.gmall.order.test;

public class ServiceImpl implements IService{

    int i= 0;
    @Override
    public String test1() {

        if(++i>1){
            throw new RuntimeException("test1异常,只能调用一次");
        }
        System.out.println("-----------------");

        return "OK";
    }
}
